package org.BUPT.entity;


import java.io.Serializable;

public class UserActiveDTO implements Serializable {

    private static final long serialVersionUID = -103797500202536441L;

    // 用户id
    private Long userId;


    private Long category2Id;

    // 该用户对该二级类目的点击量
    private Long hits;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCategory2Id() {
        return category2Id;
    }

    public void setCategory2Id(Long category2Id) {
        this.category2Id = category2Id;
    }

    public Long getHits() {
        return hits;
    }

    public void setHits(Long hits) {
        this.hits = hits;
    }

    @Override
    public String toString() {
        return "UserActiveDTO{" +
                "userId=" + userId +
                ", category2Id=" + category2Id +
                ", hits=" + hits +
                '}';
    }

    public UserActiveDTO() {
    }

    public UserActiveDTO(Long userId, Long category2Id, Long hits) {
        this.userId = userId;
        this.category2Id = category2Id;
        this.hits = hits;
    }
}
